
import {createStore} from 'vuex'
import user from "./user";

const getters = {
    token: state => state.user.token,
    id: state => state.user.id,
    name: state => state.user.name,
    info: state => state.user.info,
    status: state => state.user.status,
    font: state => state.user.font,
}

const store = createStore({
    modules: {
        user
    },
    getters
})

export default store
